﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ActivityLog.aspx.cs" Inherits="SalesManagement.Modules.System.ActivityLog" %>

<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:ResourceManager ID="ResourceManager1" runat="server" />
    <ext:Viewport ID="Viewport1" runat="server">
        <Items>
            <ext:Toolbar ID="tbMain" runat="server">
                <Items>
                    <ext:ToolbarSpacer />
                    <ext:Button ID="btnDelete" runat="server" Text="Xóa" Icon="TableDelete">
                        <DirectEvents>
                        </DirectEvents>
                    </ext:Button>
                    <ext:ToolbarSpacer />
                            <ext:ToolbarFill />
                    <ext:ComboBox ID="ComboBox1" FieldLabel="Thời gian" runat="server" Width="300" Editable="false"
                        DataIndex="Title" LabelWidth="50"/>
                    <ext:ToolbarSpacer />
                    <ext:ToolbarSpacer />
                    <ext:ComboBox ID="ComboBox2" FieldLabel="Loại sự kiện" runat="server" Width="300"
                        Editable="false" DataIndex="Title" LabelWidth="70"/>
                </Items>
            </ext:Toolbar>
            <ext:GridPanel ID="GridPanel1" runat="server" AutoExpandColumn="obj_ID" RowHeight="1"
                ColumnLines="true" BodyBorder="false" Border="false">
                <Store>
                    <ext:Store ID="Store1" runat="server">
                        <Reader>
                            <ext:JsonReader IDProperty="obj_ID">
                                <Fields>
                                    <ext:RecordField Name="obj_ID" />
                                    <ext:RecordField Name="objDateCreate" />
                                    <ext:RecordField Name="objEmployee" />
                                    <ext:RecordField Name="objMaturity" />
                                </Fields>
                            </ext:JsonReader>
                        </Reader>
                    </ext:Store>
                </Store>
                <ColumnModel ID="ColumnModel1" runat="server">
                    <Columns>
                        <ext:Column ColumnID="obj_ID" DataIndex="obj_ID" Header="Sự kiện" />
                        <ext:Column DataIndex="objDateCreate" Header="Thời gian" />
                        <ext:Column DataIndex="objEmployee" Header="Người dùng" />
                    </Columns>
                </ColumnModel>
            </ext:GridPanel>
        </Items>
    </ext:Viewport>
    </form>
</body>
</html>
